package com.azunitech.jms.common;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class EventMessage implements Serializable {
    private static final long serialVersionUID = 1L;
    Map<String, Serializable> m_Header = new HashMap<String, Serializable>();;
    Map<String, Serializable> m_Body = new HashMap<String, Serializable>();;
    Map<String, Serializable> m_Fooler = new HashMap<String, Serializable>();;
    private int messageId;
    private String messageText = "";
 
    public EventMessage(int id, String messageText) {
        this.messageId = id;
        this.messageText = messageText;
    }
 
    public int getMessageId() {
        return messageId;
    }
 
    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }
 
    public String getMessageText() {
        return messageText;
    }
 
    public void setMessageText(String messageText) {
        this.messageText = messageText;
    }
 
    public String toString(){
        return "Message Id = "+getMessageId()+" ; Message Text = "+getMessageText();
    }
}

